<?php
namespace app\api\controller\v1;

use  \app\api\model\Product as Goods;

class Product extends Base
{

    public function index($id){

        $good = new Goods;

        $good = $good->getDetailProduct($id);

        return $this->success($good);

    }
}
